match as-path

This command defines the AS path access-list name.

Syntax

match as-path word  

Command

Description

word

Defines the as-path access-list name.

Default

NA

Command Mode

Privileged User

Example

This example defines the AS path access-list name.

(config-data)# route-map rmap permit 1
(conf-router)# match as-path spname